package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@DbTable(tableName = "t_person_class")
public class PersonClass extends BaseEntity {
        /**
     * 类型Id
     */
    @DbTableField(columnName = "c_entity_id", dbType = DbTypeEnum.VARCHAR)
    public String entityId ;

    /**
     * 名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 编码
     */
    @DbTableField(columnName = "c_code", dbType = DbTypeEnum.VARCHAR)
    public String code ;

    /**
     * 父级Id
     */
    @DbTableField(columnName = "c_parent_id", dbType = DbTypeEnum.VARCHAR)
    public String parentId ;

    /**
     * 层级编码
     */
    @DbTableField(columnName = "c_dev_code", dbType = DbTypeEnum.VARCHAR)
    public String devCode ;

    /**
     * 描述
     */
    @DbTableField(columnName = "c_desc", dbType = DbTypeEnum.VARCHAR)
    public String desc ;

    /**
     * 排序
     */
    @DbTableField(columnName = "c_sort", dbType = DbTypeEnum.INTEGER)
    public Integer sort ;

    /**
     * 状态 0：启用 1：关闭
     */
    @DbTableField(columnName = "c_status", dbType = DbTypeEnum.SMALLINT)
    public Short status ;






}
